home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3vsph.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_VSPHERE_H = 1;
- include("real/raytr/r3frobj.js")
- include("oops/r3vector.js")
-
-
- var R3CLID_VSPHERE = 166;
-
-
-
-
- R3VSPHA_Center = 166500;
- function SetR3VSPHA_Center(value) {
- R3Set(this.r3obj, R3VSPHA_Center, value, R3TID_VECTOR, 0);
- }
-
- function GetR3VSPHA_Center() {
- return R3Get(this.r3obj, R3VSPHA_Center, R3TID_VECTOR, 0);
- }
-
- R3VSPHA_Radius = 166501;
- function SetR3VSPHA_Radius(value) {
- R3Set(this.r3obj, R3VSPHA_Radius, value, R3TID_FLOAT, 0);
- }
-
- function GetR3VSPHA_Radius() {
- return R3Get(this.r3obj, R3VSPHA_Radius, R3TID_FLOAT, 0);
- }
-
- R3VSPHA_RadiusSquared = 166502;
- function SetR3VSPHA_RadiusSquared(value) {
- R3Set(this.r3obj, R3VSPHA_RadiusSquared, value, R3TID_FLOAT, 0);
- }
-
- function GetR3VSPHA_RadiusSquared() {
- return R3Get(this.r3obj, R3VSPHA_RadiusSquared, R3TID_FLOAT, 0);
- }
-
-
-
- function r3Vsphere () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_VSPHERE, arguments);
- }
- // Attributes
- this.GetCenter=GetR3VSPHA_Center;
- this.SetCenter=SetR3VSPHA_Center;
- this.GetRadius=GetR3VSPHA_Radius;
- this.SetRadius=SetR3VSPHA_Radius;
- this.GetRadiusSquared=GetR3VSPHA_RadiusSquared;
- this.SetRadiusSquared=SetR3VSPHA_RadiusSquared;
- }
-
- r3Vsphere.prototype=new r3Frobject;
- // r3vsph.h_H